<template>
  <div class="header-container">
    <!-- 网站logo开始 -->
    <h1 class="logo">
      <img src="../../../assets/vue.svg" alt="个人博客">
    </h1>
    <!-- 网站logo结束 -->
    <!-- 网站导航开始 -->
    <ul class="navigation">
      <li>
        <router-link to="/">首页</router-link>
      </li>
      <li>
        <router-link to="/login">后台</router-link>
      </li>
    </ul>
    <!-- 网站导航结束 -->
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.header-container {
  width: 100vw;
  background-color: rgb(194, 193, 193);
  display: flex;
  height: 80px;

  a {
    text-decoration: none;
  }

  a:hover {
    color: #fff;
  }

  .logo {
    height: 100%;
    width: 80px;
    margin-left:30px;
    img {
      height: 100%;
      width: 100%;
    }
  }

  .navigation {
    list-style: none;
    display: flex;
    align-items: center;

    li {
      margin: 0 10px;
      font-size: 20px;
    }
  }
}
</style>